/*
 * Author:林俊烽;
 * common css.
 */

body
{
    font-family: "Microsoft Yahei sans-serif";
    font-size: 14px;
    background: #f1f3ea;
    color: #333;
}

div
{
    display: block;
}


h1, h2, h3, h4, h5, h6
{
    clear: both;
}

h1
{
    font-size: 35px;
}

:link, :hover, .animate, input
{
    transition-property: background-color, color;
    transition-duration: .3s;
    transition-timing-function: ease;
    -webkit-transition-property: background-color, color, padding;
    -webkit-transition-duration: .3s;
    -webkit-transition-timing-function: ease;
    -moz-transition-property: background-color, color;
    -moz-transition-duration: .3s;
    -moz-transition-timing-function: ease;
    -o-transition-property: background-color, color;
    -o-transition-duration: .3s;
    -o-transition-timing-function: ease;
}

a
{
    color: black;
    text-decoration: none;
    cursor: pointer;
}

a:hover
{
    text-decoration: none;
    color: red;
}

a:active
{
    color: green;
}

div.block-link
{
    vertical-align: middle;
    height: auto;
    font-size: small;
    padding: 0;
}

div.block-link a, div.block-link span
{
    margin: 3px;
    padding: 5px 10px;
    display: inline-block;
    border-radius: 5px;
}

div.block-link a
{
    background-color: #DEC;
    border: 1px solid #DEC;
    text-decoration: none;
    color: black;
}

.button, form input[type=button], form input[type=submit], form input[type=reset]
{
    margin: 10px;
    padding: 5px 20px;
    text-align: center;
    text-decoration: none;
    color: black;
    cursor: pointer;
    background: #DDD;
    box-shadow: 0 0 8px #666;
    border: 1px solid #999;
    border-radius: 5px;
    font-family: "Microsoft Yahei";
}

.button:hover, form input[type=button]:hover, form input[type=submit]:hover, form input[type=reset]:hover
{
    box-shadow: 0 0 15px #e8ac43;
    color: darkred;
    background: #EEE;
    border: 1px solid #e19714;
}

.button:active, form input[type=button]:active, form input[type=submit]:active, form input[type=reset]:active
{
    border: 1px solid green;
    color: green;
    background: lightgreen;
}

form input[type=submit], form input[type=reset]
{
    margin: 10px 20px 10px 0;
}

table.content
{
    width: 100%;
    margin: 10px 0;
    border-collapse: collapse;
    border-spacing: 0;
    color: #333;
    font-size: 15px;
}

table.content th
{
    text-align: left;
    padding: 5px;
    border-bottom: solid 1px #666;
    color: Black;
}

table.content td
{
    border-bottom: dashed 1px #CCC;
    padding: 5px;
    margin: 0;
}

input[type=password], input[type=text]
{
    display: inline-block;
    height: 29px;
    margin: 0;
    padding: 0 8px;
    background: #fff;
    width: 200px;
    border: 1px solid #d9d9d9;
    border-top: 1px solid #c0c0c0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
}


input[type=password]:hover, input[type=text]:hover
{
    border: 1px solid #b9b9b9;
    border-top: 1px solid #a0a0a0;
    -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

input[type=password]:focus, input[type=text]:focus
{
    outline: none;
    border: 1px solid #4d90fe;
    -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
    -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
}

input[type=password][disabled=disabled], input[type=text][disabled=disabled]
{
    border: 1px solid #e5e5e5;
    background: #f5f5f5;
}

input[type=password][readonly=readonly], input[type=text][readonly=readonly]
{
    border: 1px solid #d9d9d9;
}

hr
{
    clear: both;
    height: 0;
    border: none;
    border-bottom: 1px dashed gray;
    margin-bottom: 1em;
}

#wrapper
{
    margin: 40px auto;
    padding: 40px;
    width: 400px;
    border-radius: 20px;
    box-shadow: 0 0 10px gray;
    background-color: white;
}

#user-login
{
    margin: 0 20px;
}

#user-input
{
    margin-left: 45px;
}

#pwd-input
{
    margin-left: 44px;
}

#login-logo
{
    height: 35px;
    width: 35px;
}

#login-head
{
    text-align: center;
    font-size: 40px;
}

#login-error
{
    margin-left: 30px;
    font-size: 17px;
    color: red;
}

 .table 
 {
    margin-top: 30px;
    min-width: 40%;
    background-color: transparent;
    border-spacing: 0;
 }

 .table th,
 .table td 
 {
    font-size: 17px;
    padding: 8px;
    line-height: 35px;
    text-align: left;
    border: 1px solid #dddddd;
 }

 .table-hover tbody tr:hover td,
 .table-hover tbody tr:hover th 
 {
    background-color: #f1f3ea;
 }

 .table-head
 {
    font-weight: bold;
    background-color: #f1f3ea;
 }
